from app import create_app
from app.mapper.database import db


app = create_app()


if __name__ == '__main__':

    with app.app_context():
        db.create_all()  # 在应用上下文中创建所有表
    app.run(port=5000)